<nz-table #filterTable [nzData]="listOfDisplayData">
  <thead>
  <tr>
    <th nzSortKey="name">
      名称
    </th>
    <th nzSortKey="phone">电话</th>
    <th nzSortKey="address">地址</th>
    <th nzSortKey="description">详细信息</th>
    <th nzSortKey="money">所赚金额</th>
    <th nzSortKey="opentime">开业时间</th>
    <th nzSortKey="update_time">提交时间</th>
    <th nzSortKey="uid">用户id</th>
    <th nzSortKey="status"
        nzShowFilter
        [nzFilterMultiple]="false"
        [nzFilters]="listOfStatus"
        (nzFilterChange)="filter($event)"
    >审核状态</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
  <tr *ngFor="let data of filterTable.data">
    <td>{{ data.name }}</td>
    <td>{{ data.phone }}</td>
    <td>{{ data.address }}</td>
    <td>{{ data.description }}</td>
    <td>{{ data.money }}</td>
    <td>{{ data.opentime }}</td>
    <td>{{ data.update_time }}</td>
    <td>{{ data.uid }}</td>
    <td>{{ data.status == 1 ? '已审核' : '未审核'}}</td>
    <td><button nz-button nzSize="default" nzType="primary" (click)="check(data.id)" *ngIf="data.status == 0">审核通过</button>
      <!--<button nz-button [nzSize]="default" nzType="default" *ngIf="data.status == 0">审核拒绝</button></td>-->
  </tr>
  </tbody>
</nz-table>
